package com.zjitc.mapper;

import com.zjitc.obj.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/8 14:11
 * @description:
 */
public interface UserMapper {
  @Select("SELECT * FROM user WHERE userId = #{userId}")
  User getUser(@Param("userId") String userId);
}
